AccountScreen

fun AccountScreen(modifier: Modifier = Modifier, viewModel: AccountViewModel = hiltViewModel(), openDrawer: () -> Unit, onLogoutResult: () -> Unit)

Composable function for the Account screen, where users can view their account information and log out.

Parameters

modifier

The modifier to be applied to the layout of the screen content.

viewModel

The ViewModel that holds the UI state and business logic for the account.

openDrawer

A lambda function triggered to open the navigation drawer.

onLogoutResult

A lambda function triggered when the logout process is complete.